<meta charset="utf-8">
	<style>
		.huodongimg {
			height: 14em;
			width: 100%;
		}
		
		.huodongh4 {
			font-family: '黑体';
			font-size: 18px;
			text-align: left;
		}
		
		.huodongfl {
			float: left;
		}
		
		.huodongfr {
			float: right;
		}
		
		.huodongclearfix:after {
			content: "";
			display: block;
			clear: both;
		}
		
		.huodongclearfix {
			zoom: 1;
		}
		
		.huodong_list span {
			margin-right: 8px;
			color: #999;
		}
		
		.huodong_list a {
			margin-right: 8px;
			color: #FF9933;
			font-family: "微软雅黑";
			font-size: 12px;
		}
		
		.huodong_con {
			border-bottom: 1px solid #DDDDDD;
		}
		
		.huodong_con li {
			border-bottom: 1px solid #ddd;
			width: 90%;
			margin: 0 auto;
			line-height: 30px;
			font-family: "微软雅黑";
		}
		
		.huodong_con li:last-child {
			border: none;
		}
		
		.huodong_con li:last-child span {
			color: #ff9933;
		}
		
		.huodong_guanzhu li {
			float: left;
			width: 50%;
			text-align: center;
			color: #007AFF;
		}
		
		.huodong_guanzhu li:first-child {
			border-right: 1px solid #999;
		}
		
		.huodong_footer .tubiao {
			font-size: 24px;
			float: left;
			width: 100%;
		}
		
		.huodong_footer p {
			float: left;
			font-family: '微软雅黑';
			font-size: 12px;
			padding: 0;
			margin-top: -10px;
			width: 100%;
		}
		.huodong_footer .bsty {
			padding: 0;margin: 0;color: #999;width: 100%;
		}
		
	.piclist{clear:both;float:left;margin:0;padding:0;list-style-type:none;width:100%;background-color: white;}
	.piclist li{margin:0;float:left;padding-top: 0.25rem;padding-left: .5rem;}
	.piclist img{border-radius: 50%; display:block;margin:0 auto;width:40px;height:40px;border:1px solid #ccc;}
	.piclist p{text-align:center;font-size: 0.8rem;font-family: "微软雅黑";}

	</style>
<ion-header-bar align-title="center">
	<div class="buttons ">
		<button class="button  button-clear" style="color: #000;" ng-click='back()'><i class="ion-chevron-left"></i></button>
	</div>
	<h1 class="title" style="font-family: '微软雅黑';">活动</h1>
	
</ion-header-bar>
	<ion-content style="background: #F5F5F5;text-align: left;">
		<div class="huodong_pic" style="margin-bottom: -10px;background: #fff;">
			<img class="huodongimg" ng-src="{{hd_GetActivities[0].hdfm}}" style="background: #fff;">
		</div>
		<ul style="margin: none;padding: none;background: #fff;">
			<li style="border-bottom: 1px solid #DDDDDD;padding-left:5px;padding-bottom: 5px;padding-top: 5px;">
				<h4 class="huodongh4">{{hd_GetActivities[0].title}}</h4>
				<div class="huodongclearfix huodong_list">
					<span class="huodongfl">{{hd_GetActivities[0].fbdate| date : 'MM月dd日 '}}</span>
					<span class="huodongfl">
							<i class="iconfont icon-130"></i>
							{{hd_GetActivities[0].Readcount}}
						</span>
					<span class="huodongfl">
							<i class="iconfont icon-transpond"></i>
							0
						</span>
					<a class="huodongfr">
						<i class="iconfont icon-08"></i> 交易保障
					</a>
				</div>
			</li>
		</ul>
		<ul class="huodong_con" style="background: #fff;">
			<li>
				<i class="iconfont icon-shijian"></i>
				<span>{{hd_GetActivities[0].ksdate| date : 'MM-dd HH:mm '}}</span>至 <span>{{hd_GetActivities[0].jsdate| date : 'MM-dd HH:mm '}}</span>
			</li>
			<li >
				<i class="iconfont icon-faxian3" ></i> 
				<a ng-href='#/huodong/0/{{hd_GetActivities[0].dizi}}'>{{hd_GetActivities[0].dizi}}</a>
			</li>
			<li>
				<i class="iconfont icon-wo"></i> 已报名
				<span>{{hd_Getsignup.length}}</span>人/人数无限制
			</li>
			<li>
				<i class="iconfont icon-qian"></i>
				<span >免费</span>
			</li>
		</ul>
		<div class="huodong_me" style="background: #fff;">
			<div>
				<div>
					<img ng-src="{{hd_GetActivities[0].portrait}}" class="huodongfl" width="40" height="40" style="border-radius: 100%;border: 1px solid #999;margin: 13px 10px 0 10px;" />
				</div>
				<div>
					<a style="margin-top: 10px;display: inline-block;">
						<span style="font-size: 16px;font-family: 黑体;">{{hd_GetActivities[0].name}}</span>
						<i class="iconfont icon-shijian"></i>
						<span style="display: inline-block;background: #d5f0fe;padding:0 2px;font-size: 12px;">主办方</span>
					</a>
					<div style="font-size: 12px;color: #898989;margin:0;padding:0;width:70%;height: 40px;  overflow : hidden;text-overflow: ellipsis;display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;">				
						TA组织活动太忙，还没腾出空写简介
					</div>

				</div>
			</div>
			<ul class="huodong_guanzhu huodongclearfix" >
				<li>
					<span ng-show='!sfgz' ng-click='follow_add()' > +关注</span>
					<span ng-show='sfgz' ng-click='follow_del()' > 已关注</span>
				</li>
				<li >
					联系Ta
				</li>
			</ul>
		</div>
		<p id='content' ng-bind-html='hd_GetActivities[0].content' style="background-color: white ;margin-top: 10px;padding: 10px;">
			<!--	{{hd_GetActivities[0].content}}-->
		</p>
		
			<div style="background-color: #FFFFFF;margin-top: 0.5rem;" ng-show='true'>
			<div style="font-family: '微软雅黑';line-height: 30px;font-size :0.8rem;padding-left: 0.25rem;  width: 96%;border-bottom: 1px solid #DDDDDD; margin: 0 auto;">已报名（{{hd_Getsignup.length}}）
			<span style="float: right;color: #007AFF;font-size: 0.6rem;" ng-show='hd_Getsignup.length>7'>查看报名</span></div>
			<span style="color: #CCCCCC;margin-left: 0.75rem;line-height: 2rem; " ng-show='hd_Getsignup.length==0'>还木有人报名,快来成为活动第一人！</span>
		
			<ul class="piclist"   ng-show='hd_Getsignup.length!=0'>
			<li ng-repeat='p in hd_Getsignup '>
			<img ng-src='{{p.tx}}' alt="7张" />
			<p>{{p.name}}</p>
			</li>
			</ul>
			
			</div>
			<div style="display: block;height: 0.25rem;clear: both;"></div>
			<div style="background-color: white;clear: both;">
			<div style="margin-top: 0.5rem;" >
			<div style="font-family: '微软雅黑';line-height: 30px; font-size :0.8rem;padding-left: 0.25rem;  width: 96%;border-bottom: 1px solid #DDDDDD; margin: 0 auto;">讨论（{{hd_Getdiscuss.length}}）
			<span style="float: right;color: #007AFF;font-size: 0.6rem;" ng-click='hddiscuss_add()'>我要讨论</span></div>
			</div>
			<div style="line-height: 1.5rem;padding: 0.75rem;">
			 		<span style="color: #CCCCCC;" ng-show="hd_Getdiscuss.length==0" >还木有人讨论,快来抢个沙发吧！</span>
			<div class="list" ng-show='hd_Getdiscuss.length>0'>

    <a class="item item-avatar" ng-repeat='p in hd_Getdiscuss | orderBy:"plsj" :"desc" '  style="border: none;font-family: '微软雅黑';overflow:inherit;white-space:inherit;text-overflow:inherit" href="#">
      <img ng-src="{{p.tx}}">
      <h2 style="font-family: '微软雅黑';" ng-show='(p.phone==hd_GetActivities[0].phone)'><span style="color: #007AFF;font-size: 0.8rem;">【主办方】{{p.name}} </span><span style="float: right;font-family: '微软雅黑'; font-size: 0.6rem;color: #C0C0C0;">{{p.plsj | date : 'MM月dd日 HH:mm '}}</span></h2>
     
      <h2 style="font-family: '微软雅黑';" ng-show='!(p.phone==hd_GetActivities[0].phone)'>{{p.name}} <span style="float: right;font-family: '微软雅黑'; font-size: 0.6rem;color: #C0C0C0;">{{p.plsj | date : 'MM月dd日 HH:mm'}}</span></h2>
      <p style="border-bottom:1px solid #CCCCCC;overflow:inherit;white-space:inherit;text-overflow:inherit" ng-click='hddiscuss_add2(p.name)'>{{p.con}}</p>
    </a>
  
</div>		
			</div>
				<span style="margin:0; padding:0;color: #999;font-size:0.4rem; display: block; text-align: center;" ng-show='gdpl' ng-click='hddiscuss_get()' >查看更多讨论</span>

			</div>
	
	</ion-content>
	<ion-footer-bar class="bar-light huodong_footer" style='margin: 0;padding: 0;'>

		<div class="row" style="margin: 0;padding: 0;">
			<div class="col col-25"> 
				<button class="button-clear button bsty " >
    	<i class="iconfont icon-taolun tubiao"></i>
    	<p >和Ta聊天</p></button> 
			</div>
			<div class="col col-25" style="border-left: 1px solid #CCCCCC;"> 
				<button class="button-clear button bsty" ng-click='liekadd()' >
    	<i class="iconfont icon-shoucang tubiao" ng-show='!sfliek' ng-click='liekadd()' ></i>
    	<i class="iconfont icon-shoucang tubiao" ng-show='sfliek' ng-click='liekdel()' style="color: #ff6614;" ></i>
    	<p >收藏({{hd_GetActivities[0].Likecount}})</p></button>
			</div>

			<div class="col col-50" style="padding: 0;margin: 0;background-color: #ff6614;font-family: '微软雅黑';">
				<button class="button-clear button " style="color: white;line-height: 44px;" ng-click='signup_add()'>
    	<i class="iconfont icon-wo"></i>我要报名</button></div>
		</div>
	</ion-footer-bar>
